{% extends 'base.html' %}

{% block main_content %}
    <div>
        {% if neighborhood %}
            <h2>{{ neighborhood.name }}</h2>
            {% for label in neighborhood.labels.all %}
                <span>{{ label.title }}</span>
                <br />
            {% endfor %}
        {% else %}
            <p>Buurt niet gevonden</p>
        {% endif %}
    </div>
{% endblock %}
